
public abstract class Light {

	private RGB color = null;
	
	public RGB getColor(){
		return this.color;
	}
	
	public void setColor(RGB rgb){
		this.color = rgb;
	}
	
	public abstract Vector getDirection(Vector target);
	
	public abstract RGB getLightningAt(Vector target);
	
	public abstract boolean isBlockedByPrimitive(Vector target,	Vector viewDirection, Primitive p);
	
}
